const mongoose = require('mongoose')
const md5 = require('blueimp-md5')

const managerSchema = new mongoose.Schema({
  username: { type: String, required: true },
  password: { type: String, default: '' },
  type: { type: String, required: true, enum: [0, 1] }
})

mongoose.model('Manager', managerSchema)
